services.wstunnel.servers.<name>.listen

Address and port to listen on. Setting the port to a value below 1024 will also give the process the required CAP_NET_BIND_SERVICE capability.

Type
submodule
Default
{ config, ... }:
{
  host = "0.0.0.0";
  port = if config.enableHTTPS then 443 else 80;
}
Declared
<nixpkgs/nixos/modules/services/networking/wstunnel.nix>